package com.hrt.manage.bkgoods.service;

import java.util.List;

import com.hrt.bean.BackGoods;

public interface BackGoodsService {
	public Long totalCount();

	public void  deleteById( Long[] ids) throws Exception;

	public void saveBackGoods(BackGoods backGoods)throws Exception;

	public	List queryByPage(int pageIndex, int pageSize);

	public void updateBackGoods(BackGoods backGoods);
	
	public List<BackGoods> queryByOrderId(Long orderId);

	/**
	 * 统计退货单中一个礼品的数量
	 * @param giftDetailId
	 * @param id
	 * @return
	 */
	public Long countOrderBackGoodes(Long giftDetailId, Long id);
}
